{{ $posts := sort .Site.Data.powered "weight" }}
{{ $root := .}}
<section>
    <div class="container home-powered-links">
        <h1> {{i18n "MAIN_POWERED_LINKS"}}</h1>
        <div class="home-powered-imgs">
            {{ range $posts}}
            {{ if eq .lang $root.Site.LanguageCode}}
            <a href='./powered.html#{{ .id }}'>
                <img loading="lazy" src="../img/partner/{{ .id}}.png" alt="powered by OpenLookeng logo" />  
                <span>{{ .title}} ({{ .total }})</span>
            </a>
            {{ end }}
            {{ end }}
        </div>
    </div>
</section>